<%--
  Created by IntelliJ IDEA.
  User: lb
  Date: 15-11-30
  Time: 下午2:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
    <title></title>
</head>
<body>
<div>
    <table>
        <tr>
            <td rowspan="6"><img src="/public/image/${rentDTO.imageGuid}"></td>
            <td>度假屋名称：</td>
            <td>${rentDTO.houseName}</td>
        </tr>
        <tr>
            <td>度假屋所有者：</td>
            <td>${rentDTO.ownerName}</td>
        </tr>
        <tr>
            <td>价格：</td>
            <td>￥${rentDTO.price}</td>
        </tr>
        <tr>
            <td>可住人数：</td>
            <td>${rentDTO.personNum}</td>
        </tr>
        <tr>
            <td>状态：</td>
            <td>${rentDTO.myHouseStatus}</td>
        </tr>
        <tr>
            <td>简介：</td>
            <td>${rentDTO.information}</td>
        </tr>
    </table>
    <table class="table table-hover table-striped">
        <thead>
            <tr>
                <th colspan="6" class="text-center">租客信息</th>
            </tr>
            <tr>
                <th>姓名</th>
                <th>电话</th>
                <th>入住人数</th>
                <th>入住时间</th>
                <th>离开时间</th>
                <th>备注</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td> ${rentDTO.customer}</td>
                <td>${rentDTO.phoneNum}</td>
                <td>${rentDTO.coustomerNum}</td>
                <td>${rentDTO.checkInDate}</td>
                <td>${rentDTO.leaveDate}</td>
                <td>${rentDTO.description}</td>
            </tr>
        </tbody>
    </table>

</div>
</body>
</html>